import requests
def get_new_token():
    headers_data = {"Content-Type": "application/json"}
    json_data = {"mobile":"13800000002","password":"123456"}
    resp = requests.post(url="http://ihrm2-test.itheima.net/api/sys/login",
                         headers = headers_data ,
                         json=json_data)
    auth = resp.json()["data"]
    return auth

